package com.zygh.dlqwservice.module.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author lee
 * @since 2020-12-24
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="Message对象", description="")
public class Message implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "消息id")
    @TableId(value = "sys_message_id", type = IdType.AUTO)
    private Integer sysMessageId;

    @ApiModelProperty(value = "关联id", example = "1")
    private Integer messagePid;

    @ApiModelProperty(value = "消息类型  1代表问题、2代表任务")
    private String messageType;

    @ApiModelProperty(value = "消息名称   收到XX上报的XX问题；你上报的XX问题已解决；收到XX发布的任务；	你上报的问题正在走XX流程；	你发布的任务已处理")
    private String messageName;

    @ApiModelProperty(value = "消息状态   0表示未读 1表示已读，默认为0", example = "1")
    private Integer messageState;

    @ApiModelProperty(value = "消息接受人", example = "1")
    private Integer acceptId;

    @ApiModelProperty(value = "消息发起人", example = "1")
    private Integer launchId;

    @ApiModelProperty(value = "消息创建时间")
    private String createTime;

    @ApiModelProperty(value = "逻辑删除   0表示删除 1表示存在", example = "1")
    @TableField("Is_delete")
    private Integer isDelete;


}
